#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : jieba_1.py
# @Author: evenvi
# @Date  : 19-4-28
# @Desc  :

import jieba
import uniout # 中文显示

sent = '我要开发一个智能中文报告舆情分析系统'

seg_list = jieba.cut(sent, cut_all=True)
print('全局模式', '/'.join(seg_list))

seg_list = jieba.cut(sent, cut_all=False)
print('精确模式', '/'.join(seg_list))

seg_list = jieba.cut(sent)
print('默认精确模式', '/'.join(seg_list))

seg_list = jieba.cut_for_search(sent)
print('搜索引擎模式', '/'.join(seg_list))